package com.sduept.nwld.dataserver.model.edata.cim.bx;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="t_bx_protection_equipment")
public class BxProtectionEquipment  {
	
	@Id
	@Column(name="mRID")
	protected String mRID;
	
	@Column(name="mProtectName")
	protected String mProtectName;
	
	@Column(name="mStationID")
	protected String mStationID;
	
	@Column(name="mFdevID")
	protected String mFdevID;
	
	@Column(name="mCommuStatus")
	protected int mCommuStatus;
	
	@Column(name="mCommuStatusTime")
	protected Date mCommuStatusTime;
	
	@Column(name="mRunStatus")
	protected int mRunStatus;
	
	@Column(name="mRunStatusTime")
	protected Date mRunStatusTime;
	
	@Column(name="m103Addr")
	protected int m103Addr;
	
	@Column(name="m103Group")
	protected int m103Group;
	
	@Column(name="m103Item")
	protected int m103Item;

	@Column(name="mPrimdevType")
	private int mPrimdevType;
	
	@Column(name="mPrimdevID")
	private String mPrimdevID;
	
	@Column(name="StationID")
	private String stationID;
	
	@Column(name="cim_station_id")
	private String cim_station_id;
	
	@Column(name="pt_id")
	protected String pt_id;
	public int getmPrimdevType() {
		return mPrimdevType;
	}

	public void setmPrimdevType(int mPrimdevType) {
		this.mPrimdevType = mPrimdevType;
	}

	public String getmPrimdevID() {
		return mPrimdevID;
	}

	public void setmPrimdevID(String mPrimdevID) {
		this.mPrimdevID = mPrimdevID;
	}

	public String getStationID() {
		return stationID;
	}

	public void setStationID(String stationID) {
		this.stationID = stationID;
	}

	public String getCim_station_id() {
		return cim_station_id;
	}

	public void setCim_station_id(String cim_station_id) {
		this.cim_station_id = cim_station_id;
	}

	public String getmRID() {
		return mRID;
	}

	public void setmRID(String mRID) {
		this.mRID = mRID;
	}

	public String getmProtectName() {
		return mProtectName;
	}

	public void setmProtectName(String mProtectName) {
		this.mProtectName = mProtectName;
	}

	public String getmStationID() {
		return mStationID;
	}

	public void setmStationID(String mStationID) {
		this.mStationID = mStationID;
	}

	public String getmFdevID() {
		return mFdevID;
	}

	public void setmFdevID(String mFdevID) {
		this.mFdevID = mFdevID;
	}

	public int getmCommuStatus() {
		return mCommuStatus;
	}

	public void setmCommuStatus(int mCommuStatus) {
		this.mCommuStatus = mCommuStatus;
	}

	public Date getmCommuStatusTime() {
		return mCommuStatusTime;
	}

	public void setmCommuStatusTime(Date mCommuStatusTime) {
		this.mCommuStatusTime = mCommuStatusTime;
	}

	public int getmRunStatus() {
		return mRunStatus;
	}

	public void setmRunStatus(int mRunStatus) {
		this.mRunStatus = mRunStatus;
	}

	public Date getmRunStatusTime() {
		return mRunStatusTime;
	}

	public void setmRunStatusTime(Date mRunStatusTime) {
		this.mRunStatusTime = mRunStatusTime;
	}

	public int getM103Addr() {
		return m103Addr;
	}

	public void setM103Addr(int m103Addr) {
		this.m103Addr = m103Addr;
	}

	public int getM103Group() {
		return m103Group;
	}

	public void setM103Group(int m103Group) {
		this.m103Group = m103Group;
	}

	public int getM103Item() {
		return m103Item;
	}

	public void setM103Item(int m103Item) {
		this.m103Item = m103Item;
	}

	public String getPt_id() {
		return pt_id;
	}

	public void setPt_id(String pt_id) {
		this.pt_id = pt_id;
	}
	
	@Override
	public String toString() {
		return mProtectName;
	}

}
